module.exports = (options, app) => {
    return async function auth(ctx, next) {
      if(ctx.query.id) {
          await next()
      }else{
          ctx.body = '请输入id'
      }
    }
};